package com.mall.member.feign;

import com.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author super
 * 调用远程服务coupon的接口
 */
@FeignClient(name = "mall-coupon")
public interface CouponFeign {
    @RequestMapping("/coupon/coupon/getById")
    R list();
}
